﻿<UserControl x:Class="CommonControls.AboutUs"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="480" d:DesignWidth="480">

    <Grid>
        <ListBox Margin="15,0,0,0" 
                 x:Name="lbxAboutUs" 
                 Grid.Row="0" 
                 SelectionChanged="lbxAboutUs_SelectionChanged" 
                 ScrollViewer.VerticalScrollBarVisibility="Disabled">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel  Style="{StaticResource AboutUsMenuRowStyle}">
                        <TextBlock Text="{Binding Name}" 
                                   x:Name="txtabout" 
                                   Style="{StaticResource AboutUsMenuItemText}"/>
                        <Canvas Visibility="{Binding CountVisible}" 
                                Margin="10,0,0,0">
                            <Ellipse Style="{StaticResource RelatedAppCountContainer}"/>
                        </Canvas>
                        <TextBlock Text="{Binding Count}" 
                                   Visibility="{Binding CountVisible}" Style="{StaticResource RelatedAppCountStyle}" />
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>

</UserControl>
